package com.ccys.db.mapper;

import com.ccys.db.dto.doctor.consultStage.GetPatienInfotListingDto;
import com.ccys.db.entity.TblBookingMemberInfo;
import com.ccys.db.vo.doctor.consultStage.GetMemberDetailVo;
import com.ccys.db.vo.doctor.consultStage.GetNRICLogToVerifiedVo;
import com.ccys.db.vo.doctor.consultStage.GetPatienInfotListingVo;
import com.ccys.db.vo.doctor.consultStage.RejectNricChangeVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
 * Created by Mybatis Generator on 2023/12/23
 */
public interface TblBookingMemberInfoMapper extends Mapper<TblBookingMemberInfo>, MySqlMapper<TblBookingMemberInfo> {

    List<GetNRICLogToVerifiedVo> getNRICLogToVerified(String memberId);

    List<GetPatienInfotListingVo.PatientVo> getPatientInfoListingForOffline(GetPatienInfotListingDto dto);

    List<GetPatienInfotListingVo.PatientVo> getPatientInfoListing(@Param("doctorId") String doctorId, @Param("dto") GetPatienInfotListingDto dto);


    TblBookingMemberInfo findByBookingId(@Param("bookingId") String bookingId);

    GetMemberDetailVo getMemberDetail(String memberId,String doctorId);

    RejectNricChangeVo rejectNricChange(String memberId);
}
